package com.ruoyi.order.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * 购物车商品项对象
 *
 * @author ruoyi
 * @date 2025-08-21
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CartItem {
    private static final long serialVersionUID = 1L;

    /** 商品SKU ID */
    private Long skuId;

    /** 购买数量 */
    private Integer quantity;

    /** 活动ID */
    private Long activityId;

    /** 优惠券ID */
    private Long couponId;

    /** 维修费类型 */
    private Integer protection;

    /** 购买时单价 */
    private BigDecimal unitPrice;

    /** SKU表原价 */
    private BigDecimal originalPrice;

    private Long cartItemId;

}
